from setuptools import setup, find_packages

with open("README.md", "r", encoding="utf-8") as fh:
    long_description = fh.read()

with open("requirements.txt", "r", encoding="utf-8") as fh:
    requirements = fh.read().splitlines()

setup(
    name="KubeReporter",
    version="0.0.1",
    author="Jack",
    author_email="291148484@163.com",
    description="Kubernetes资源健康检查和依赖分析工具",
    long_description=long_description,
    long_description_content_type="text/markdown",
    url="https://github.com/jacklee1995/KubeReporter",
    packages=find_packages(where="src"),
    package_dir={"": "src"},
    classifiers=[
        "Development Status :: 3 - Alpha",
        "Intended Audience :: Developers",
        "Topic :: Software Development :: Libraries :: Python Modules",
        "Programming Language :: Python :: 3",
        "Programming Language :: Python :: 3.7",
        "Programming Language :: Python :: 3.8",
        "Programming Language :: Python :: 3.9",
        "Programming Language :: Python :: 3.10",
        "License :: OSI Approved :: MIT License",
        "Operating System :: OS Independent",
    ],
    python_requires=">=3.7",
    install_requires=requirements,
    entry_points={
        "console_scripts": [
            "k8s-analyzer=KubeReporter.cli:main",
        ],
    },
    include_package_data=True,
    package_data={
        "KubeReporter": [
            "templates/*",
            "config/*.yaml",
        ],
    },
) 